package com.ruoyi.breaks.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 答案管理对象 answer
 * 
 * @author ruoyi
 * @date 2025-04-09
 */
public class Answer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 问题id */
    @Excel(name = "问题id")
    private Long questionId;

    /** 答案描述 */
    @Excel(name = "答案描述")
    private String answerDescribe;

    /** 逻辑删状态 */
    @Excel(name = "逻辑删状态")
    private Long del;

    /** 备用字段1 */
    private String spare1;

    /** 备用字段2 */
    private String spare2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setQuestionId(Long questionId) 
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }

    public void setAnswerDescribe(String answerDescribe) 
    {
        this.answerDescribe = answerDescribe;
    }

    public String getAnswerDescribe() 
    {
        return answerDescribe;
    }

    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    public void setSpare1(String spare1) 
    {
        this.spare1 = spare1;
    }

    public String getSpare1() 
    {
        return spare1;
    }

    public void setSpare2(String spare2) 
    {
        this.spare2 = spare2;
    }

    public String getSpare2() 
    {
        return spare2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionId", getQuestionId())
            .append("answerDescribe", getAnswerDescribe())
            .append("del", getDel())
            .append("spare1", getSpare1())
            .append("spare2", getSpare2())
            .toString();
    }
}
